package com.sdry.model.cb;

import org.quartz.JobDataMap;

import java.io.Serializable;
import java.util.Date;

/**
 * Job Dto 与数据库无关联
 * 
 * @author：cb
 * @date：2019年9月20日12:52:25
 */
public class JobDto implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    /**任务名**/
    private String jobName;
    /**任务组**/
    private String jobGroupName;
    /**触发器名称**/
    private String triggerName;
    /**触发器组名称**/
    private String triggerGroupName;
    /**cron表达式**/
    private String cronExpression;
    /**上次运行时间**/
    private Date previousFireTime;
    /**下次运行时间**/
    private Date nextFireTime;
    /**任务状态**/
    private String jobStatus;

    // private Long duration;
    /**开始时间**/
    private Date startTime;
    /**结束时间**/
    private Date endTime;
    /**任务类名**/
    private String jobClass;
    /**任务状态**/
    private Long count;
    /**任务状态**/
    private JobDataMap jobDataMap;
    /**任务名**/
    private String oldJobName;
    /**任务组**/
    private String oldJobGroupName;
    /**触发器名称**/
    private String oldTriggerName;
    /**触发器组名称**/
    private String oldTriggerGroupName;

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getTriggerName() {
        return triggerName;
    }

    public void setTriggerName(String triggerName) {
        this.triggerName = triggerName;
    }

    public String getTriggerGroupName() {
        return triggerGroupName;
    }

    public void setTriggerGroupName(String triggerGroupName) {
        this.triggerGroupName = triggerGroupName;
    }

    public Date getPreviousFireTime() {
        return previousFireTime;
    }

    public void setPreviousFireTime(Date previousFireTime) {
        this.previousFireTime = previousFireTime;
    }

    public Date getNextFireTime() {
        return nextFireTime;
    }

    public void setNextFireTime(Date nextFireTime) {
        this.nextFireTime = nextFireTime;
    }

    public String getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(String jobStatus) {
        this.jobStatus = jobStatus;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getJobClass() {
        return jobClass;
    }

    public void setJobClass(String jobClass) {
        this.jobClass = jobClass;
    }

    public JobDataMap getJobDataMap() {
        return jobDataMap;
    }

    public void setJobDataMap(JobDataMap jobDataMap) {
        this.jobDataMap = jobDataMap;
    }

    public String getJobGroupName() {
        return jobGroupName;
    }

    public void setJobGroupName(String jobGroupName) {
        this.jobGroupName = jobGroupName;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public String getOldJobName() {
        return oldJobName;
    }

    public void setOldJobName(String oldJobName) {
        this.oldJobName = oldJobName;
    }

    public String getOldJobGroupName() {
        return oldJobGroupName;
    }

    public void setOldJobGroupName(String oldJobGroupName) {
        this.oldJobGroupName = oldJobGroupName;
    }

    public String getOldTriggerName() {
        return oldTriggerName;
    }

    public void setOldTriggerName(String oldTriggerName) {
        this.oldTriggerName = oldTriggerName;
    }

    public String getOldTriggerGroupName() {
        return oldTriggerGroupName;
    }

    public void setOldTriggerGroupName(String oldTriggerGroupName) {
        this.oldTriggerGroupName = oldTriggerGroupName;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

}
